//
//  GLViewController.h
//  V3d_Cocoa
//
//  Created by Y my on 11-3-14.
//  Copyright 2011 NJUST. All rights reserved.
//

#import "GLView.h"
#import "MIPData.h"
//#import "ViewControllerDelegate.h"
#import "My4DImage.h"


@interface GLViewController : UIViewController {
	GLView* glView;
	
	My4DImage* my4DImage;
	MIPData* mipData;
	
	float lastRotateH;
	float lastRotateV;
	
	UISlider* rotateV;
	UISlider* rotateH;
}

@property (retain) IBOutlet GLView* glView;
@property (retain) IBOutlet UISlider* rotateH, *rotateV;
@property (readonly) MIPData* mipData;
@property (readonly) My4DImage* my4DImage;

- (void)setData:(My4DImage*)data;

- (IBAction)OnReset:(UIButton*)sender;

// We will NOT need this function in IOS development
//- (IBAction)back:(UIButton*)sender;
- (IBAction)OnMove:(UIButton*)sender;
- (IBAction)OnRotate:(UISlider*)sender;

@end
